package com.prs.crm.dao.purchase.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.purchase.OrderTypeDao;
import com.prs.crm.domain.purchase.OrderType;

/**
 * @author zhang
 * @version 2010-5-21 上午10:11:43
 */

public class OrderTypeDaoImpl extends BaseDaoImpl<OrderType> implements OrderTypeDao {

	@Override
	public List<OrderType> getall() {
		Criteria criteria=this.getSession().createCriteria(OrderType.class);
		return criteria.list();
	}

}
